Setting Up a System to Use the RTX64 WinDbg Extension

To create and configure the supporting directories:

To get the most out of your WinDbg session, we recommend that you create directories to store your application information in. This will make it easier for WinDbg to find everything it needs to decipher a Windows memory dump file.

  1. Create a directory on your system to store symbol files for your RTX64 debugging session. In this walk through we named the directory C:\RTX64_SYMBOLS.
  2. Copy the PDB files for your RTSS applications and RTDLL binaries to your symbols directory.

NOTE: The RTX64 WinDbg Extension will automatically look for RTX64 symbols in the RTX64 SDK installation directory under the subdirectory Symbols. You do not need to manually copy the provided RTX64 symbols to this directory.

  1. Create a directory on your system to store the source files used to generate your RTX64 applications and RTDLLs. In this walk through we named the directory C:\RTX64_SOURCES.
  2. Create a directory on your system to store copies of the RTSS and RTDLL binaries (executables and RTDLLs). In this walk through we named the directory C:\RTX64_IMAGES.
  3. Click Start > Debugging Tools for Windows (x64) > WinDbg to launch WinDbg.
  4. Select Symbol File Path from the File menu. Browse to the location of the symbols directory you created, then click OK. For more information, see the MSDN article Setting Symbol Paths in WinDbg at http://msdn.microsoft.com/en-us/library/windows/hardware/hh439335(v=vs.85).aspx.

  1. Select Source File Path from the File menu. Browse to the location of the sources directory you created and then click OK.

  2. Select Image File Path from the File menu. Browse to the location of the images directory you create and then click OK.

  3. Save the workspace (File > Save Workspace).

NOTE: You may want to obtain Microsoft Windows symbols. For more information, see http://support.microsoft.com/kb/311503.

At this point, you can load the RTX64 WinDbg Extension commands. The RTX64 WinDbg Extension extends WinDbg by providing information about the state of the RTX64 subsystem and its applications while analyzing a crash dump. See Using WinDbg Extension Commands for more information.

Related topics: